package com.jzit168.library_arouter

import android.app.Application
import com.alibaba.android.arouter.launcher.ARouter

/**
 *@Desc: 初始化ARouter
 *@Author: Android Developer
 *@Date: 2020/10/15
 *
 **/
class ArouterInit {

    fun init(application: Application, isDebug: Boolean) {
        if (isDebug) {
            ARouter.openLog()
            ARouter.openDebug()
        }
        ARouter.init(application)
    }
}